:: Integer -> Double package:ghc-bignum -is:exact

Indicate if the value is a power of two and which one